using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DAL;
using DL;
/// <summary>
/// Summary description for CommentForNewsBL
/// </summary>
namespace BL 
{
    public class CommentForNewsBL  
    {
    	#region Private Variables
		CommentForNewsDAL objCommentForNewsDAL;
		#endregion
		
        #region Public Constructors
        public CommentForNewsBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objCommentForNewsDAL=new CommentForNewsDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(CommentForNewsDL objCommentForNewsDL)
        {
            return objCommentForNewsDAL.Insert(objCommentForNewsDL);
        }

        public int Update(CommentForNewsDL objCommentForNewsDL)
        {
             return objCommentForNewsDAL.Update(objCommentForNewsDL);

        }

        public int Delete(CommentForNewsDL objCommentForNewsDL)
        {
             return objCommentForNewsDAL.Delete(objCommentForNewsDL);

        }

         public int DeleteAll()
        {
             return objCommentForNewsDAL.DeleteAll();
        }

        public CommentForNewsDL Select(CommentForNewsDL objCommentForNewsDL)
        {
            return objCommentForNewsDAL.Select(objCommentForNewsDL);
        }

        public ArrayList SelectAll1( )
        {
         return objCommentForNewsDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objCommentForNewsDAL.SelectAll();
        }


     
#endregion          
    
    }

}
